package com.mo.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 定时相关配置
 *
 * @author lizhihao
 * @date 2018-10-29 11:10
 */
@Configuration
@ConfigurationProperties(prefix = JobProperties.JOB_PREFIX)
public class JobProperties {
	public static final String JOB_PREFIX = "baseInfo.job";
	
	private String deleteExpiredContCron;
	
	private String collectContPlayCountCron;
	
	private String addLiveCountCron;

	public String getDeleteExpiredContCron() {
		return deleteExpiredContCron;
	}

	public void setDeleteExpiredContCron(String deleteExpiredContCron) {
		this.deleteExpiredContCron = deleteExpiredContCron;
	}

	
	public String getCollectContPlayCountCron() {
		return collectContPlayCountCron;
	}

	public void setCollectContPlayCountCron(String collectContPlayCountCron) {
		this.collectContPlayCountCron = collectContPlayCountCron;
	}

	public static String getJobPrefix() {
		return JOB_PREFIX;
	}

	public String getAddLiveCountCron() {
		return addLiveCountCron;
	}

	public void setAddLiveCountCron(String addLiveCountCron) {
		this.addLiveCountCron = addLiveCountCron;
	}
	
	
	
}
